﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TImSdk
{
    public class OfflinePushConfig
    {
        /// <summary>
        /// 当前消息在对方收到离线推送时候展示内容
        /// </summary>
        [JsonProperty("offline_push_config_desc")]
        public string Offline_Push_Config_Desc { get; set; }
        /// <summary>
        /// 当前消息离线推送时的扩展字段
        /// </summary>
        [JsonProperty("offline_push_config_ext")]
        public string Offline_Push_Config_Ext { get; set; }
        /// <summary>
        /// 当前消息是否允许推送
        /// </summary>
        [JsonProperty("offline_push_config_flag")]
        public TIMOfflinePushFlag Offline_Push_Config_Flag { get; set; }
        /// <summary>
        ///  iOS离线推送配置
        /// </summary>
        [JsonProperty("offline_push_config_ios_config")]
        public IOSOfflinePushConfig Offline_Push_Config_Ios_Config { get; set; }
        /// <summary>
        /// Android离线推送配置
        /// </summary>
        [JsonProperty("offline_push_config_android_config")]
        public AndroidOfflinePushConfig Offline_Push_Config_Android_Config { get; set; }
    }
}
